package com.autologistics.model;

/**
 * Goodsorder entity. @author MyEclipse Persistence Tools
 */

public class Goodsorder implements java.io.Serializable {

	// Fields

	private GoodsorderId id;
	private Goods goods;
	private Ordertable ordertable;

	// Constructors

	/** default constructor */
	public Goodsorder() {
	}

	/** minimal constructor */
	public Goodsorder(GoodsorderId id) {
		this.id = id;
	}

	/** full constructor */
	public Goodsorder(GoodsorderId id, Goods goods, Ordertable ordertable) {
		this.id = id;
		this.goods = goods;
		this.ordertable = ordertable;
	}

	// Property accessors

	public GoodsorderId getId() {
		return this.id;
	}

	public void setId(GoodsorderId id) {
		this.id = id;
	}

	public Goods getGoods() {
		return this.goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public Ordertable getOrdertable() {
		return this.ordertable;
	}

	public void setOrdertable(Ordertable ordertable) {
		this.ordertable = ordertable;
	}

}